package com.yuwei.image.picasso

import android.graphics.*
import com.squareup.picasso.Transformation

class RoundedCornersTransform(val radius : Int,val corners : Float): Transformation {
    override fun transform(source: Bitmap?): Bitmap? {
        return source?.let { Bitmap.createBitmap(it.width, source.height, Bitmap.Config.ARGB_8888) }
    }

    override fun key(): String {
        TODO("Not yet implemented")
    }

}